package com.aaa.jdbc;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2022/7/26 10:48
 * @description：部门实体类
 * @modified By：
 * @version: 1.0
 */
public class Dept {
    private int deptno;
    private  String dname;
    private  String loc;

    public Dept() {
    }

    public Dept(int deptno, String dname, String loc) {
        this.deptno = deptno;
        this.dname = dname;
        this.loc = loc;
    }

    public Dept(String dname, String loc) {
        this.dname = dname;
        this.loc = loc;
    }

    public int getDeptno() {
        return deptno;
    }

    public void setDeptno(int deptno) {
        this.deptno = deptno;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }
}
